import request from '@/utils/request'

// 查询学科和专业类型联系列表
export function listVfDisciplineAndSpecialtyType(query) {
  return request({
    url: '/system/VfDisciplineAndSpecialtyType/list',
    method: 'get',
    params: query
  })
}

// 查询学科和专业类型联系详细
export function getVfDisciplineAndSpecialtyType(id) {
  return request({
    url: '/system/VfDisciplineAndSpecialtyType/' + id,
    method: 'get'
  })
}

// 新增学科和专业类型联系
export function addVfDisciplineAndSpecialtyType(data) {
  return request({
    url: '/system/VfDisciplineAndSpecialtyType',
    method: 'post',
    data: data
  })
}

// 修改学科和专业类型联系
export function updateVfDisciplineAndSpecialtyType(data) {
  return request({
    url: '/system/VfDisciplineAndSpecialtyType',
    method: 'put',
    data: data
  })
}

// 删除学科和专业类型联系
export function delVfDisciplineAndSpecialtyType(id) {
  return request({
    url: '/system/VfDisciplineAndSpecialtyType/' + id,
    method: 'delete'
  })
}
